package com.jiayinlending.function.home.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

import com.jiayinlending.CommonConstant;
import com.jiayinlending.R;
import com.jiayinlending.base.BaseFragment;
import com.jiayinlending.common.UIHelper;
import com.jiayinlending.model.ToSignSms;
import com.jiayinlending.util.MD5Util;
import com.jiayinlending.util.sign.SignHelper;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import butterknife.Unbinder;

/**
 * Created by yuexiaohui on 2017/5/6 13:34
 */

public class LoginFragment extends BaseFragment {

    @BindView(R.id.et_phonenum)
    EditText etPhonenum;
    @BindView(R.id.et_psd)
    EditText etPsd;
    @BindView(R.id.bt_login)
    Button btLogin;
    @BindView(R.id.tv_forget)
    TextView tvForget;
    @BindView(R.id.tv_register)
    TextView tvRegister;

    @Override
    protected int getLayoutRes() {
        return R.layout.fragment_login;
    }


    @OnClick({R.id.bt_login, R.id.tv_forget, R.id.tv_register})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.bt_login:

                break;
            case R.id.tv_forget:

                break;
            case R.id.tv_register:
                UIHelper.showRegister(getContext());
                break;
        }
    }

   

}
